﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;

namespace EFCore.Models;

[Table("CusetomOrderLine")]
public partial class CusetomOrderLine
{
    [Key]
    [Column("CusetomOrderLine_Id")]
    public Guid CusetomOrderLineId { get; set; }

    [Column("reelId")]
    public string ReelId { get; set; } = null!;

    [Column("quantity")]
    public string Quantity { get; set; } = null!;

    [Column("slotNum")]
    public string SlotNum { get; set; } = null!;

    public string? State { get; set; }

    [Column("mtrlCode")]
    public string? MtrlCode { get; set; }

    [Column("CusetomOrder_Id")]
    public Guid CusetomOrderId { get; set; }

    [ForeignKey("CusetomOrderId")]
    [InverseProperty("CusetomOrderLines")]
    public virtual CusetomOrder CusetomOrder { get; set; } = null!;
}
